﻿using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;

namespace WpfMvvmTemplate.MD.ViewModels.UserControls
{
    public partial class ViewAViewModel : ObservableObject
    {

        [ObservableProperty]
        public bool isSnackbarMessage;

        [ObservableProperty]
        public double numTest;

        public ViewAViewModel()
        {

        }

        [RelayCommand]
        public void SnackbarMessage()
        {
            IsSnackbarMessage = !IsSnackbarMessage;
        }

    }
}